package com.itc.system.service;

import com.itc.common.core.domain.R;
import com.itc.system.api.domain.SysDictType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.system.domain.dto.SysDictTypeDto;

import java.util.List;

/**
* @author zhangyh
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Service
* @createDate 2024-05-08 14:27:24
*/
public interface SysDictTypeService extends IService<SysDictType> {

    /**
     * 新增
     * @param dict
     * @return
     */
    R insertDictType(SysDictTypeDto dict);

    /**
     * 编辑
     * @param dict
     * @return
     */
    R updateDictType(SysDictTypeDto dict);

    /**
     * 批量删除
     * @param dictIds
     * @return
     */
    R deleteDictTypeByIds(List<Long> dictIds);
}
